package com.unei.scala.demo.test

import org.junit.Test
import scala.collection.immutable.HashSet;

class SetMapDemo {

    @Test
    def testSet(){
        var set=Set("a","b");
        println(set);
        set=set.+("c");
        println(set);
    }

    @Test
    def testHashSet(){
        val hashSet=HashSet("tomato","potato");
        println(hashSet);
    }
}